package com.eupmt.lab3.controllers;

import com.eupmt.lab3.domain.BoGarantia;
import com.eupmt.lab3.domain.Client;
import com.eupmt.lab3.domain.Producte;
import java.util.List;

/**
 *
 * @author Grup1 Lab3
 */
public interface IBoGarantiaController {

   public void saveBoGarantia(BoGarantia boGarantia)   throws Exception;
   public void insertBoGarantia(BoGarantia boGarantia) throws Exception;
   public void updateBoGarantia(BoGarantia boGarantia) throws Exception;
   public void deleteBoGarantia(BoGarantia boGarantia) throws Exception;

   public BoGarantia getBoGarantiaById(int idBoGarantia)        throws Exception;
   public List<BoGarantia> getBonsGarantiaByClient(Client client)       throws Exception;
   public List<BoGarantia> getBonsGarantiaByProducte(Producte producte) throws Exception;
}
